home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_resources.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-09-17  |  2.1 KB  |  68 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_resources.c
  31.  */
  32.  
  33. #define KEYMAPRESNAME   "keymap.resource"
  34.  
  35. struct ResourceEntry {
  36.     struct MinNode re_Node;
  37.     struct Library *re_Addr;
  38.     UBYTE re_Address[ADDRESS_LENGTH];
  39.     UBYTE re_Name[FILENAME_LENGTH];
  40.     UBYTE re_Pri[NUMBER_LENGTH];
  41.     UBYTE re_Version[VERSION_LENGTH];
  42.     UBYTE re_OpenCount[NUMBER_LENGTH];
  43.     UBYTE re_RAMPtrCount[NUMBER_LENGTH];
  44.     UBYTE re_Type[NODETYPE_LENGTH];
  45. };
  46.  
  47. void PrintResources( char * );
  48.  
  49. void SendResList( void );
  50.  
  51. #define ResourcesWindowObject                NewObject(ResourcesWinClass->mcc_Class, NULL
  52.  
  53. struct ResourcesWinData {
  54.     UBYTE rwd_Title[WINDOW_TITLE_LENGTH];
  55.     APTR rwd_ResourceList;
  56.     APTR rwd_ResourceText;
  57.     APTR rwd_ResourceCount;
  58.     APTR rwd_RemoveButton;
  59.     APTR rwd_PriorityButton;
  60.     APTR rwd_MoreButton;
  61.     APTR rwd_FunctionsButton;
  62. };
  63.  
  64. ULONG __asm __saveds ResourcesWinDispatcher( register __a0 struct IClass *cl,
  65.                                              register __a2 Object *obj,
  66.                                              register __a1 Msg msg );
  67.  
  68.